package com.csw.android.dev_utils.ex

import android.app.Application
import android.content.pm.ApplicationInfo
import com.csw.android.dev_utils.SDK

/** 当前应用是否处于调试模式 */
val Application.DEBUG: Boolean by lazy {
    (SDK.getApplication().applicationInfo.flags and ApplicationInfo.FLAG_DEBUGGABLE) != 0
}
